package cn.dw.mm.mapper;

import java.util.List;
import java.util.Map;

import cn.dw.mm.domain.Inspectionproblem;
import cn.dw.mm.domain.Inspectionscene;

public interface InspectionsceneMapper {
	List<Inspectionproblem> selectByProblemId(Integer problemId);
	List<Inspectionproblem> selectByCondition(Inspectionproblem inspectionscene);
	int deleteById(Integer id);
	int insert(Inspectionscene inspectionscene);
	int update(Inspectionscene inspectionscene);
	
	List<Map<String, Object>> countByProblemId();
	List<Map<String, Object>> countByDomain();
}
